package com.phone.entity;

import java.util.Date;

/**
 * Created by tisen on 2017/8/28.
 */
public class ServiceRecord {
    private String serial;
    private ServiceControl model;
    private boolean status;
    private Date date;


    public ServiceRecord() {
    }

    public ServiceRecord(String serial, ServiceControl model, boolean status) {
        this.serial = serial;
        this.model = model;
        this.status = status;
        this.date = new Date();
    }

    @Override
    public String toString() {
        return "ServiceRecord{" +
                "serial='" + serial + '\'' +
                ", model='" + model + '\'' +
                ", status=" + status +
                '}';
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public ServiceControl getModel() {
        return model;
    }

    public void setModel(ServiceControl model) {
        this.model = model;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}
